package com.prp.db.idao;

import java.util.List;

import com.prp.db.po.UserState;

public interface IUserStateDAO {
	public void save(UserState transientInstance);

	public void delete(UserState persistentInstance);

	public UserState findById(java.lang.Integer id);

	public List findByExample(UserState instance);

	public List findByProperty(String propertyName, Object value);

	public List findByState(Object state);

	public List findByUserId(Object userId);
	
	public List findAll();

	public UserState merge(UserState detachedInstance);

	public void attachDirty(UserState instance);

	public void attachClean(UserState instance);
}
